php replace space with underscore

49

php replace space with underscore -

$str = str_replace(' ', '_', $str);

Comments

Submit
0 Comments